package com.forum.dto;

public class ChatRecordDto {
    private Integer id;
    private String content;
    private String createAt; // 格式化后的日期字符串，例如 "2023-10-01"
    private UserBriefDto senderUser;
    private UserBriefDto receiverUser;

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getCreateAt() {
        return createAt;
    }
    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }
    public UserBriefDto getSenderUser() {
        return senderUser;
    }
    public void setSenderUser(UserBriefDto senderUser) {
        this.senderUser = senderUser;
    }
    public UserBriefDto getReceiverUser() {
        return receiverUser;
    }
    public void setReceiverUser(UserBriefDto receiverUser) {
        this.receiverUser = receiverUser;
    }
}
